/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package designpatterns.CommandPattern;

/**
 *
 * @author Devon
 */
public class DinnerCommand implements Command {
    Dinner dinner;

    public DinnerCommand(Dinner dinner)
    {
        this.dinner = dinner;
    }

    public void execute()
    {
       dinner.makeDinner( ) ;
    }

}
